package com.maysev.myjob_backend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.maysev.myjob_backend.entity.Category;
import com.maysev.myjob_backend.entity.Subcategory;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 五七
 * @create 2023-04-03 15:27
 * @description:
 */
@Mapper
public interface CategoryMapper extends BaseMapper<Category> {
    List<Subcategory> getSubcategoriesByCategoryId(Long categoryId);
}
